/*============================================================================
 PROJECT: CoreTextDemo
 FILE:    MarkupParser.h
 AUTHOR:  Khoai Nguyen
 DATE:    7/4/13
 =============================================================================*/

/*============================================================================
 IMPORT
 =============================================================================*/
#import <CoreText/CoreText.h>

/*============================================================================
 MACRO
 =============================================================================*/

/*============================================================================
 PROTOCOL
 =============================================================================*/

/*============================================================================
 Interface:   MarkupParser
 =============================================================================*/


@interface MarkupParser : NSObject

@property (strong, nonatomic) UIFont *font;
@property (strong, nonatomic) UIColor *color;
@property (strong, nonatomic) UIColor *strokeColor;
@property (assign, readwrite) float strokeWidth;
@property (strong, nonatomic) NSMutableArray *images;

- (NSMutableAttributedString *)attrStringFromMarkup:(NSString *)html;

@end
